]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screencastService: Add an ERROR state for the pipeline state tracking
authorJonas Dreßler <verdre@v0yd.nl>
Fri, 28 Jan 2022 23:31:15 +0000 (00:31 +0100)
committerJonas Dreßler <verdre@v0yd.nl>
Tue, 25 Apr 2023 15:17:41 +0000 (17:17 +0200)
This will be useful when we start actually listening for ERROR events on
the gstreamer bus.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2197>

js/dbusServices/screencast/screencastService.js

index 0a88b48f1fd097ca2f552eae1ae927921441c618..53cbca8d658f08e038d4ee28e02449dc4feac83f 100644 (file)
@@ -33,6 +33,7 @@ const PipelineState = {
     PLAYING: 'PLAYING',
     FLUSHING: 'FLUSHING',
     STOPPED: 'STOPPED',
+    ERROR: 'ERROR',
 };
 
 const SessionState = {